package com.futurelight.recipes.dao;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

import com.futurelight.recipes.model.Result;

@Entity(tableName = "results")
public class EntityResult {
    @PrimaryKey()
    public int id;
    @ColumnInfo(name = "type")
    public String type;
    @ColumnInfo(name = "name")
    public String name;
    @ColumnInfo(name = "result")
    public Result result;

    public EntityResult(int id, String type, String name, Result result) {
        this.id = id;
        this.type = type;
        this.name = name;
        this.result = result;
    }
}
